package io.renren.modules.api.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;


/**
 * 普通用户(手机)
 *
 * @author wdj
 * @email z570517692@163.com
 * @date 2017-11-29 14:08:05
 */
public class UserEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	//
	private Long userId;
	//用户名
	private String username;
	//手机号
	private String phone;
	//密码
	private String password;
	//性别
	private String sex;
	//邮箱
	private String email;
	//昵称
	private String nickname;
	//真实姓名
	private String realname;
	//头像路径
	private String avatar;
	//状态  0：禁用   1：正常
	private Boolean state;
	//创建时间
	private Date createTime;
	//极光注册ID
	private String registrationId;
	//是否第一次登陆 1是 0否
	private Boolean firstLogin;
	//余额
	private BigDecimal balance;
	//积分
	private Integer bonusPoints;

	/**
	 * 设置：
	 */
	public void setUserId(Long userId) {
		this.userId = userId;
	}
	/**
	 * 获取：
	 */
	public Long getUserId() {
		return userId;
	}
	/**
	 * 设置：用户名
	 */
	public void setUsername(String username) {
		this.username = username;
	}
	/**
	 * 获取：用户名
	 */
	public String getUsername() {
		return username;
	}
	/**
	 * 设置：手机号
	 */
	public void setPhone(String phone) {
		this.phone = phone;
	}
	/**
	 * 获取：手机号
	 */
	public String getPhone() {
		return phone;
	}
	/**
	 * 设置：密码
	 */
	public void setPassword(String password) {
		this.password = password;
	}
	/**
	 * 获取：密码
	 */
	public String getPassword() {
		return password;
	}
	/**
	 * 设置：性别
	 */
	public void setSex(String sex) {
		this.sex = sex;
	}
	/**
	 * 获取：性别
	 */
	public String getSex() {
		return sex;
	}
	/**
	 * 设置：邮箱
	 */
	public void setEmail(String email) {
		this.email = email;
	}
	/**
	 * 获取：邮箱
	 */
	public String getEmail() {
		return email;
	}
	/**
	 * 设置：昵称
	 */
	public void setNickname(String nickname) {
		this.nickname = nickname;
	}
	/**
	 * 获取：昵称
	 */
	public String getNickname() {
		return nickname;
	}
	/**
	 * 设置：真实姓名
	 */
	public void setRealname(String realname) {
		this.realname = realname;
	}
	/**
	 * 获取：真实姓名
	 */
	public String getRealname() {
		return realname;
	}
	/**
	 * 设置：头像路径
	 */
	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}
	/**
	 * 获取：头像路径
	 */
	public String getAvatar() {
		return avatar;
	}

	public Boolean getState() {
		return state;
	}

	public void setState(Boolean state) {
		this.state = state;
	}

	/**
	 * 设置：创建时间
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	/**
	 * 获取：创建时间
	 */
	public Date getCreateTime() {
		return createTime;
	}
	/**
	 * 设置：极光注册ID
	 */
	public void setRegistrationId(String registrationId) {
		this.registrationId = registrationId;
	}
	/**
	 * 获取：极光注册ID
	 */
	public String getRegistrationId() {
		return registrationId;
	}

	public Boolean getFirstLogin() {
		return firstLogin;
	}
	public void setFirstLogin(Boolean firstLogin) {
		this.firstLogin = firstLogin;
	}
	/**
	 * 设置：积分
	 */
	public void setBonusPoints(Integer bonusPoints) {
		this.bonusPoints = bonusPoints;
	}
	/**
	 * 获取：积分
	 */
	public Integer getBonusPoints() {
		return bonusPoints;
	}

}
